package com.dao;

import java.util.List;
import java.util.Map;


import com.bean.Unit;
public interface UnitMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Unit record);

    int insertSelective(Unit record);

    Unit selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Unit record);

    int updateByPrimaryKey(Unit record);
    
    List<Unit> select(Map map);
    
    List<Unit> selectByComplexId(Integer id);
    
    int inserttotal(Map<String,Object> units);
}